my file learn about tech container (docker, podman, kubernetes)
services:
app:
container_name: app
build:
context: ./app
dockerfile: dockerfile
image: "app-golang:1.0.0" # nama image
environment:
- "APP_PORT=9000"
ports:
- "9000:9000"
# context => lokasi folder path berisi dockerfile
# dockerfil => nama dockerfile
# image => nama image hasil build
# args => argument untuk environment docker file
docker compose build
docker image rm nama_image